import {createStore,combineReducers,applyMiddleware} from 'redux'
import topic from './reducer/topic'
import {composeWithDevTools} from 'redux-devtools-extension'
import thunk from "redux-thunk";
const allReducers = combineReducers({
    topic 
})
export default 
createStore(
allReducers,composeWithDevTools(applyMiddleware(thunk))
)